import json

cookie = "JSESSIONID=0000wYgno6C4QA1RYctb7_R2YiN:1b9i8aoq5; WPCLOGIN=dJkdGS2pvhzbCbTI6a8dVrV"

index = cookie.rfind('JSESSIONID')

print(index)
print(cookie[index:])
